package com.yulin.res;

import java.util.Arrays;
import java.util.List;

import com.fj.hiwetop.tools.json.GsonUtil;

public class TestResult {
	public static void main(String[] args) {
		List list = Arrays.asList(1,2,3,4,5,67,3);
		ResultModel result = new ResultModel(true,BizRespEnums.SUCCESS,list);
		System.out.println(result.toString());
		System.out.println(GsonUtil.toJson(result));
		result = new ResultModel(false,BizRespEnums.FAILURE);
		System.out.println(result.toString());
	}
}
